﻿<%@ Page Title="Учебные планы" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Plans.aspx.cs" Inherits="DepartmentOnline.Plans" %>

<asp:Content runat="server" ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent">
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1><%: Title %>.</h1>
            </hgroup>
            <p>
                Здесь вы можете загрузить ваши учебные планы.
            </p>
        </div>
    </section>
</asp:Content>
<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <article>
        <table class="striped">
            <asp:Repeater ID="Repeater1" runat="server">
                <HeaderTemplate>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <asp:LinkButton ID="LinkButton1" runat="server" OnCommand="EditPlan" CommandArgument='<%# Eval("Id") %>' CssClass="invisibleButton">
                                <asp:Label ID="lbNumber" Text='<%# Eval("File") %>' runat="server"></asp:Label>
                            </asp:LinkButton>
                        </td>
                        <td>
                            <asp:Label ID="Label1" Text='<%# Eval("Date") %>' runat="server"></asp:Label>
                        </td>
                        <td>
                            <asp:LinkButton ID="LinkButton2" runat="server" OnCommand="DeletePlan" CommandArgument='<%# Eval("Id") %>' CssClass="invisibleButton">
                                <div class="ui-icon-trash"> 
                            </asp:LinkButton>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                   <!-- <tr>
                        <td>
                            <asp:FileUpload ID="PlanUp" runat="server" /></td>
                        <td>
                            <asp:Button ID="UploadButton"
                                Text="Загрузить план"
                                OnClick="UploadButton_Click"
                                runat="server"></asp:Button></td>
                        <td>
                            <asp:Label ID="UploadStatusLabel"
                                runat="server">
                            </asp:Label></td>
                    </tr>-->
                </FooterTemplate>
            </asp:Repeater>
             <tr>
                <td>
                            <asp:FileUpload ID="PlanUp" runat="server" /></td>
                  <td>
                            <asp:Button ID="UploadButton"
                                Text="Загрузить план"
                                OnClick="UploadButton_Click"
                                runat="server"></asp:Button></td>
                        <td>
                            <asp:Label ID="UploadStatusLabel"
                                runat="server">
                            </asp:Label></td>
                    </tr>
        </table>
        <asp:Panel runat="server" ID="pnlPager" CssClass="pagination" />
    </article>
    <aside>
    </aside>

</asp:Content>

